#include "OldCustomerManyStrategy.h"
#include <QDebug>

#include "UI/ModRun/Output/FactoryOutput.h"

double OldCustomerManyStrategy::getPrice(double standardPrice)
{
    QString strOutput = "老客户大批量, 打8折";
    qDebug() << strOutput;
    std::shared_ptr<IOutput> pOutPut = FactoryOutput::GetInstance()->CreateRunOutput();
    if (pOutPut)
    {
        std::initializer_list<QString> outList{ strOutput };
        pOutPut->OutPut(outList);
    }
    return standardPrice * 0.8;
}
